function edit_initialization(){
  try{
    
  }catch(e){
    logging("Error edit_initialization:"+e.message);
  } 
}

function CheckContent(button){
  try{
    for(i=0;i<document.forms.length;i++){
      var elements=document.forms[i].elements;
      var formname=document.forms[i].id;
      j=0;
      while(elements[j]){
        place=document.getElementById('input_'+formname+'_'+elements[j].name);
        if(place&&place.className=="placeholder"){
          updateRTE(elements[j].name);
          place.value=elements[j].value;          
        }
        j++;
      }
    }
    return false;
  }catch(e){
    logging("Error CheckContent:"+e.message);
    return false;
  } 
}

function pasteHtml(RTE,code){
  try{
    RTE.focus();
    if(isGecko){
      RTE.document.execCommand('inserthtml', false, code);
    }else{
      RTE.document.execCommand('paste', false, code);
    }
    oRTE.focus();
  }catch(e){
    logging("Error pasteHtml:"+e.message);
    return false;
  } 
}